@extends('manage.layout')

@section('content')
<section class="content-header">
    <h1>
        分享详情
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
        <li><a href="#">Share</a></li>
        <li class="active">Share Details</li>
    </ol>
</section>

<!-- Main content -->
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">内容</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body" style="text-align: center">
                    <table class="table table-bordered table-hover">
                        <tr>
                            <td>标题</td>
                            <td>{{ $share->title }}</td>
                        </tr>
                        <tr>
                            <td>创建时间</td>
                            <td>{{ $share->update_time }}</td>
                        </tr>
                        <tr>
                            <td>作者</td>
                            <td>{{ $share->dd_id }}</td>
                        </tr>
                        <tr>
                            <td>内容</td>
                            <td>{{ $share->content }}</td>
                        </tr>
                        <tr>
                            <td>附件</td>
                            <td>@foreach($share->att as $value)<a href="http://vipyipoint.oss-cn-beijing.aliyuncs.com/{{ $value }}">{{ substr(preg_replace('/.*\//','',$value),14) }}<br /></a>@endforeach</td>
                        </tr>
                    </table>
                    {{--标题：{{ $share->title }}<br />--}}
                    {{--创建时间：{{ $share->update_time }}<br />--}}
                    {{--作者：{{ $share->dd_id }}<br />--}}
                    {{--内容：{{ $share->content }}<br />--}}
                    {{--附件：<br />@foreach($share->att as $value){{ substr(preg_replace('/.*\//','',$value),14) }}<br />@endforeach--}}
                </div>
            </div>
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->
</section>
@stop